import home from "@/mock/datas/home.json";
export const homeApis = [
  {
    // 获取首页信息
    url: /^\/mocks\/home.new.json/,
    type: "get",
    response: () => {
      return home;
    },
  },
  {
    // 获取用户信息
    url: "/users",
    type: "get",
    response: () => {
      return {
        err: 0,
        msg: "ok",
        data: [{ name: "小明" }, { name: "小王" }],
      };
    },
  },
];
